import 'package:flutter/material.dart';

class PlayAudioList with ChangeNotifier {
  List _audioList = [];
  int _currentIndex = 0;
  bool _isPlaying = false;
  List get getAudioList => _audioList;
  int get getCurrentIndex => _currentIndex;
  bool get getCurrentState => _isPlaying;
  setAudioList(list) {
    this._audioList = list;
  }

  setCurrentIndex(index) {
    this._currentIndex = index;
  }

  setAudioState(state) {
    this._isPlaying = state;
  }
}
